package za.ac.lance.dependencyinversionprinciple.obeys.model.impl;

import za.ac.lance.dependencyinversionprinciple.obeys.model.Worker;

/**
 * File Name: Manager.java
 * Version:
 * Description:
 * Package: za.ac.lance.dependencyinversionprinciple.obeys
 * Author: Lance
 * Date: Feb 25, 2012
 */
public class Manager
{

    private Worker worker;

    public void setWorker(Worker w)
    {
        worker = w;
    }

    public void manage(Worker w)
    {
        w.work();
    }
}
